package bar;

import java.util.ArrayList;
import java.util.List;

public class M209Bars {
    List<Bar> bars = new ArrayList<Bar>();

    public M209Bars() {
	for (int i = 1; i <= 27; i++) {
	    bars.add(new Bar(i));
	}
    }

    /**
     * @return the bars
     */
    public List<Bar> getBars() {
	return bars;
    }

    public String toStringToSave() {
	StringBuilder sBuilder = new StringBuilder();
	for (Bar bar : bars) {
	    sBuilder.append(bar.toString());
	    sBuilder.append("\n");
	}
	return sBuilder.toString();
    }
}
